/**
 * Created by zzy on 2017/9/22.
 */
import RequestUtil from '../../js/util/NetUtil'
export default class NetRequestLuo{
    //水站列表
    static getStationList(param){
        return RequestUtil.requestData('shopList',param);
    }
    //所有商品列表
    static getProductList(param){
        return RequestUtil.requestData('shop/shoppingcart/productList',param);
    }
    //购物车
    static selectedProductList(param){
        //return RequestUtil.requestData('shop/shoppingcart/selectedProductList',param);
        return RequestUtil.requestData('shoppingCart/list',param);
    }
    //店铺商品列表
    static getShopSelectedProductList(param){
        return RequestUtil.requestData('shop/shoppingcart/selectedProductList',param);
    }
    //加入购物车
    static addShoppingCart(param,type){
        return RequestUtil.requestData('shop/shoppingcart/'+type,param);
    }
    //店铺商品
    static oldproductList(param,productType){
        return RequestUtil.requestData('shop/shoppingcart/oldproductList/'+productType,param);
    }
    //水票列表
    static waterTicketProductList(param){
        return RequestUtil.requestData('shop/shoppingcart/oldWaterTicketProductList',param);
    }
    //热销品牌
    static hotsale(param){
        return RequestUtil.requestData('brand/hotsale/',param);
    }
    //获取水票详情
    static getTiketInfo(param){
        return RequestUtil.requestData('shop/productItem',param);
    }
    //获取猜你喜欢商品
    static guessLike(param={}){
        return RequestUtil.requestData('guessLike',param);
    }
    //水票列表
    static userWaterTicketModelList(param){
        return RequestUtil.requestData('user/watertickets',param);
    }
    //收藏
    static collect(param){
        return RequestUtil.requestData('shop/collect',param);
    }
    //店铺信息
    static shopInfo(param){
        return RequestUtil.requestData('shopinfo',param);
    }
    //收藏列表
    static collectList(param){
        return RequestUtil.requestData('shop/collectList',param);
    }

    //游客登录
    static loginTourist(){
        var param={};
        return RequestUtil.requestData('login/tourist',param);
    }
    //我的信息
    static me(param){
        return RequestUtil.requestData('user/me',param);
    }
    //发现好货
    static moreGoodProduct(param){
        return RequestUtil.requestData('shop/moreGoodProduct',param);
    }
    //修改昵称
    static setNickName(param){
        return RequestUtil.requestData('user/setNickName',param);
    }
    //软件分享
    static update(param){
        return RequestUtil.requestData('/client/update',param);
    }
    //轮播图
    static banner(type){
        var param={
            type:type
        };
        return RequestUtil.requestData('banner',param);
    }
}